//
//  TopicTableViewCell.m
//  好听-1
//
//  Created by luojin on 15/4/13.
//  Copyright (c) 2015年 MyCompany. All rights reserved.
//

#import "TopicTableViewCell.h"

#define CELL_X 375
#define CELL_Y 155

@implementation TopicTableViewCell

- (void)dealloc
{
    [_showIma release];
    [_topicLable release];
    
    [super dealloc];
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.showIma = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, CELL_X, CELL_Y)];
        [self addSubview:_showIma];
        [_showIma release];
        
        self.topicLable = [[UILabel alloc] initWithFrame:CGRectMake(0, CELL_Y * 0.9, CELL_X, CELL_Y * 0.1)];
        [self addSubview:_topicLable];
        [_topicLable release];
    }
    return self;
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
